package PO;

import java.io.Serializable;
import java.util.ArrayList;

import Promotion.Goodsconversions;
import Promotion.GoodsconversionsList;

@SuppressWarnings("serial")
public class GoodsconversionsListPO extends PO implements Serializable{
	
	ArrayList<GoodsconversionsPO>  Goodsconversionslist=new ArrayList<GoodsconversionsPO>();

	public GoodsconversionsListPO (ArrayList <GoodsconversionsPO> elist){
		Goodsconversionslist= elist;
	}
	public GoodsconversionsListPO(GoodsconversionsList  gclist){
		for(Goodsconversions gc: gclist.getGoodsconversionslist()){
			GoodsconversionsPO gcpo=new GoodsconversionsPO(gc);
			Goodsconversionslist.add(gcpo);
		}
	}
	
	public ArrayList<GoodsconversionsPO> GetGoodsconversionslist(){
		return Goodsconversionslist;
	}

}
